Loadingscreen = function(ctx,preloader){

	this.ctx = ctx;
	this.preloader = preloader;

	this.init = function(){

	};

	this.loop = function(){
		this.ctx.fillStyle = '#000000';
		this.ctx.fillRect(0,0,700,700);

		this.ctx.fillStyle = '#833b01';
		this.ctx.strokeStyle = '#ba5301';

		this.ctx.fillText('Loading...',150,205);
		this.ctx.strokeRect(150,220,400,20);
		this.ctx.fillRect(151,221,this.preloader.loadingStatus()*398,18);
	}

	this.draw = function(){
	}

}